package scala.test_class.test_fanxing

/**
 * @author 黄海峰 2021/4/16 10:06
 * */
trait RichIterator extends AbsIterator {
  def foreach(s: T => Unit): Unit = while (hasNext) s(next())
}
